<?php

namespace App;

use Illuminate\Database\Eloquent\Model as Eloquent;

class BaseModel extends Eloquent
{

    public function getFillable()
    {
        // hall_id强行插入
        if (!in_array('hall_id', $this->fillable)) {
            array_push($this->fillable, 'hall_id');
        }
        return parent::getFillable();
    }
}
